package cn.dankal.basiclib.pojo;

import java.io.Serializable;

/**
 * <pre>
 *     e-mail : junfeng.nie@duntech.com.cn
 *     time   : 27/7/2020
 *     desc   :
 *     version: cn.dankal.basiclib.pojo
 *     Copyright: Copyright（c）2018
 *     Company:
 * </pre>
 *
 * @author niejunfeng
 */
public class CardDetailEntity implements Serializable {
    private String name;//": "优惠券 娃哈哈",
    private String canTransfer;//": true,
    private String useRule;//": "使用规则",
    private String type;//": "REDUCTION",
    private String amount;//": 818.888800,
    private String expireDatetime;//": "2020-11-23T11:00:12",
    private String state;//": "USABLE",
    private String publishedDatetime;
    private FromUserEntity toUser;//": null

    private FromUserEntity fromUser;

    public String getPublishedDatetime() {
        return publishedDatetime;
    }

    public void setPublishedDatetime(String publishedDatetime) {
        this.publishedDatetime = publishedDatetime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCanTransfer() {
        return canTransfer;
    }

    public void setCanTransfer(String canTransfer) {
        this.canTransfer = canTransfer;
    }

    public String getUseRule() {
        return useRule;
    }

    public void setUseRule(String useRule) {
        this.useRule = useRule;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount;
    }

    public String getExpireDatetime() {
        return expireDatetime;
    }

    public void setExpireDatetime(String expireDatetime) {
        this.expireDatetime = expireDatetime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public FromUserEntity getToUser() {
        return toUser;
    }

    public void setToUser(FromUserEntity toUser) {
        this.toUser = toUser;
    }

    public FromUserEntity getFromUser() {
        return fromUser;
    }

    public void setFromUser(FromUserEntity fromUser) {
        this.fromUser = fromUser;
    }
}
